//
//  WeddingCountDownView.h
//  BaseProject
//
//  Created by 王洋 on 2020/7/7.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "WeddingCountDownModel.h"

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(unsigned long, WeddingCountActionType) {
    //关闭
    WeddingCountActionType_close,
    //更新日期
    WeddingCountActionType_update,

};


typedef NS_ENUM(unsigned long, WeddingCountViewType) {
    //未设置，带交互
    WeddingCountViewType_None,
    //已设置纯展示
    WeddingCountViewType_Sel,
    //已设置要编辑，带交互
    WeddingCountViewType_Edit,
};

@interface WeddingCountDownView : UIView

@property (nonatomic, assign) NSInteger leaveDay;

@property (nonatomic, copy) void(^WeddingCountDownBlock)(WeddingCountActionType type, NSString *selectDate);


- (void)fillViewWithModel:(WeddingCountDownModel *)model type:(WeddingCountViewType)type;

@end

NS_ASSUME_NONNULL_END

